//银行
class BankEntity {
  String bank_name; //
  String bank_id;
  String icon;
  String bg_img;
  BankEntity(
      {
        this.bank_name,
      this.bank_id,
      this.icon,
      this.bg_img});
  BankEntity.fromJson(Map<String, dynamic> json) {
    bank_name = json['bank_name'];
    bank_id = json['bank_id'].toString();
    icon = json['icon'];
    bg_img = json['bg_img'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['bank_name'] = this.bank_name;
    data['bank_id'] = this.bank_id;
    data['icon'] = this.icon;
    data['bg_img'] = this.bg_img;
    return data;
  }
}
